package com.le.edu.domain.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.*;

import java.io.Serializable;

/**
 * 讲师
 *
 * @TableName t_teacher
 */
@TableName(value = "t_teacher")
@Data
@Builder
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class Teacher extends BaseEntity implements Serializable {

    @TableId(type = IdType.ASSIGN_ID)
    private Long teacherId;

    /**
     * 讲师姓名
     */
    private String name;

    /**
     * 讲师简介
     */
    private String intro;

    /**
     * 讲师资历,一句话说明讲师
     */
    private String career;

    /**
     * 头衔 1高级讲师 2首席讲师
     */
    private String level;

    /**
     * 讲师头像
     */
    private String avatar;


    /**
     * 删除标志（0代表存在 1代表删除）
     */
    @TableLogic
    private String delFlag;


    /**
     * 教师密码
     */
    private String password;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}